<?php


return array(
    1 => array(
        "title" => "邮件日志",
        'table_name' => array("function" => "mailLogData"),
        "where" => array(
//            "type" => array("type" => "select", "values" => config("rank_type"), "value" => 1),
            'id' => array('name' => '玩家ID', "type" => "text", "value" => ""),
            'name' => array('name' => '角色名', "type" => "text", "value" => ""),
            'send_time' => array('name' => '时间','type' => 'date','values' => array('start_date' => date('Y-m-d'),'end_date' => date('Y-m-d'))),
        ),
        "where_merge" => [],
        "export" => true,
        'show'=> array(
            'to_rid' => '玩家ID',
            'to_name' => '角色名',
            'mailtype' => "邮件类型",
            "subject" => "邮件标题",
            "content" => "邮件内容",
            'send_time' => array("记录时间","function" => "changeDate"),
            "extra" => ['附件列表',"function"=>"formatItemData","param"=> ['field'=>"assets"]],

        )
    ),
);